#! /usr/bin/env python
# -*- coding: utf-8 -*-

# *************************************************************
#     Filename @  test.py
#       Author @  Huoty
#  Create date @  2015-05-28 15:38:03
#  Description @
# *************************************************************

from __future__ import print_function

class Test(object):

    def __getattr__(self, name):
        print("call __getattr__, name = ", name)

    def __getattribute__(self, name):
        print("call __getattribute__, name = ", name)
        return super(Test, self).__getattribute__(name)

Test().x
